package day03;

public class OperDemo {
    public static void main(String[] args) {
        int a = 780;
        if (a > 500) {
            a *= 0.8;
        }
        System.out.println(a);
        double score = 87.5;
        if (score >= 0 && score <= 100) {
            System.out.println("成绩合法");
        }
        System.out.println("成绩不合法");

    }
}